package com.dhl.cloud.core.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.dhl.cloud.common.vdo.DicinfoDetailBean;
import com.dhl.cloud.core.entity.Dicinfo;

public interface DicinfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Dicinfo record);

    int insertSelective(Dicinfo record);

    Dicinfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Dicinfo record);

    int updateByPrimaryKey(Dicinfo record);

    List<Dicinfo> getDicInfoList(@Param("systemstate") String systemstate);

    DicinfoDetailBean getDicInfo(Integer id);

    Dicinfo getDicInfoBySysAndValue(@Param("systemstate") String systemstate,@Param("dicinfovalue") Integer dicinfovalue);

    Dicinfo getDicInfoByinfoname(@Param("systemstate") String systemstate,@Param("dicinfoname") String dicinfoname);
    
    int deleteBySystemstate(String systemstate);
}